package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Employee;

public interface EmployeeService {
    Employee login(String username, String password);

    boolean save(Employee employee);

    Page<Employee> findByPageAndConditions(int page, int pageSize, String name);

    boolean update(Employee employee);

    Employee getById(Long id);
}
